home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1998 January
/
Macworld (1998-01).dmg
/
QuarkXPress Passport
/
QXP Passport™ Pre-release PPC
/
QuarkXPress Passport™ 4.0 Demo
/
QuarkXPress Passport™ 4.0 Demo.rsrc
/
PSHD_1019
< prev
next >
Wrap
Text File
|
1997-08-25
|
3KB
|
69 lines
/t0{g s1 w 1 index 0 ne{3 1 roll add exch}{3 -1 roll pop}ifelse
z4 z7 0 eq or z5 and nochdev not and{z7 0 eq nochp not and
{mtx currentmatrix nulldevice z np 0 0 m s1 T charpath{flattenpath}stopped{F}
{pathbbox 4 copy 3 -1 roll ne 3 1 roll ne and{T}{p4 F}ifelse}ifelse}{F}ifelse
{T}{z4{z0 z1 z2 z3 T}{F}ifelse}ifelse}{F}ifelse G{10 -4 roll 4
{5 -1 roll add 4 1 roll}repeat setcachedevice}{setcharwidth p4}ifelse}B
/t1{g np 0 0 m o F charpath n G}B
/newmm{dup/FontType get 0 eq
{dup maxlength dict begin cf currentdict end dup/FDepVector 2 copy get
[exch 6 index exch 6 index exch{newmm 3 1 roll}forall p2]put dup}
{18 dict begin/FontMatrix[1 0 0 1 0 0]def/FontType 3 def
/Encoding xpv def/FontBBox[0 0 1 1]def/df 1 index def/df1 0 def
1 index 0 ge{/StyleCode 2 index def/TrapWidth tpamt def}if
df/FontMatrix get 6a copy mark df/FontBBox get aload pop counttomark 4 eq
{5 -1 roll pop 4 index dtransform/z3 X/z2 X 3 -1 roll dtransform/z1 X/z0 X T}
{cleartomark pop F}ifelse/z4 X
1 index 0 ge{df/FontType get 3 ne}{F}ifelse/z5 X df/MFontType known not dup/z6 X
{df/PaintType 2 copy known{get 0 eq{0}{1}ifelse}{pop pop 1}ifelse}{1}ifelse/z7 X
/df1/q 6 dict begin/FontMatrix[1 0 0 1 0 0]def/FontType 3 def
/Encoding xpv def/FontBBox[0 0 1 1]def
z7 0 eq{/BuildChar{pop begin xpwd begin df setfont
d1 neg d1 neg d1 d1 0 t0 s1 d1 t1 end end}def}
{/BuildChar{pop begin xpwd begin df setfont 0 0 d0 d0 0 t0
s1 0 0 smc d0 0 smc d0 d0 smc 0 d0 m M end end}def}ifelse
currentdict end definefont def
/BuildChar{exch begin xpwd begin dup s1 0 3 -1 roll put z6 ss and
{df/Encoding 2 copy known{get exch get dup/.notdef ne{df/CharStrings 2 copy known
{get exch known not}{p3 T}ifelse}{pop T}ifelse}{p3 T}ifelse}{pop F}ifelse dup
{symf begin xpwd begin}if bcar StyleCode 2 mul z7 add get exec{end end}if end end}def
currentdict end}ifelse 3 index exch definefont exch pop}B
/c{currentrgbcolor dup 4 1 roll eq 3 1 roll eq and{bkc 0 get 0 eq
{1 currentgray sub H}{gtc}ifelse}{1 H}ifelse}B
/bcar[
{df setfont .05/d0 X
TrapWidth .24 add psx div .012 2 copy lt{exch}if pop/d1 X
g s1 w G 1 index 0 ne{exch d0 add exch}if setcharwidth
s1 g d0 .01 add d0 vtd not{neg}if t 0 0 smc g df1 setfont 0 0 smc G G
g c 0 0 smc G df1 setfont 0 0 m M}
{df setfont 1 psx div dup/d0 X 2. div dup/d3 X .05 add/d2 X
g s1 w G 1 index 0 ne{exch d2 add exch}if setcharwidth
s1 g d2 .01 add d2 vtd not{neg}if t 0 0 smc G
g df1 setfont 0 0 smc G c d3 d3 m M}
{df setfont TrapWidth .24 add psx div .012 2 copy lt{exch}if pop/d1 X
g s1 w G setcharwidth g c s1 0 0 smc G df1 setfont 0 0 m M}
{df setfont 1 psx div/d0 X
g s1 w G 1 index 0 ne{exch d0 add exch}if setcharwidth
g df1 setfont s1 0 0 smc G c d0 2. div dup m M}
{df setfont .03/d0 X TrapWidth dup 0 lt
{neg psx div 0 2 copy lt{exch}if pop neg}
{psx div 0 2 copy lt{exch}if pop}ifelse .03 add/d1 X
g s1 w G 1 index 0 ne{exch d0 add exch}if setcharwidth
s1 d0 2 div dup m M d1 0 ne{d1 0 lt{d1 neg/d1 X gtc}if
df1 setfont s1 d0 2 div dup m M}if}
{df setfont .03/d0 X 0 0 d0 d0 d0 t0
s1 0 0 smc d0 0 smc d0 d0 smc 0 d0 m M}
{df setfont
TrapWidth dup 0 lt{neg}if psx div 0 2 copy lt{exch}if pop/d1 X
TrapWidth 0 lt{g s1 w G setcharwidth s1 0 0 smc gtc df1 setfont}
{d1 neg d1 neg d1 d1 0 t0 s1 dup d1 t1}ifelse 0 0 m M}
{df setfont g s1 w G setcharwidth s1 0 0 m M}
] def